Skip to content

fix: own asynchronous work and enforce Sonar quality gates - #211

Merged
koreyba merged 1 commit into
mainfrom
codex/sonar-main-green
Nov 4, 2026
Merged

koreyba merged 1 commit into
mainfrom
codex/sonar-main-green

Conversation

@koreyba

@koreyba koreyba commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

OAuth startup could resolve before asynchronous navigation completed and lose its rejection. Await navigation so completion and errors reach the caller, with two regressions that failed before the fix and pass afterward. Mark 12 existing handled background calls explicitly with void, preserving immediate mutation success and existing error handling.

Make PR and main Sonar scanner jobs wait for the actual remote quality gate instead of reporting success after upload alone. Keep rules, thresholds, the new-code period, coverage inclusion and all existing tests unchanged.

Two analyzer errors were independently reviewed and classified as false positives through the official Sonar MCP, with retained audit comments: the canonical CommonJS entry guard (AaGm21hLKHHhkG4V57cg, direct CLI and quiet import verified), and the trusted-operator test-command CLI (AaGJgslfszqS_Whw4DZU, argv and trust boundary reviewed). Both scripts remain unchanged. The new main analysis closed all 13 genuine Promise findings as FIXED; existing code smells remain visible. No other finding was classified or accepted as debt.

Validation: 29 focused unit and 32 unchanged browser tests passed, including red-to-green OAuth regressions. Type-check, targeted ESLint, actionlint and documentation checks passed. Full PR CI confirmed 2,179 unit passes plus 6 existing skips, 1,146 component passes across 143 specs, and 20 E2E passes. Combined Allure: 3,285 passed / 6 existing skips; 60 additional native jsdom cases were independently checked in Jest JSON. Component coverage retains all 298 source files. The database audit script was reviewed statically only.

Merged main bd30c2716af9c2bfd39d27571133770b106e4d47 independently passed all 18 checks and its actual Sonar quality gate: reliability/security/maintainability A, new-code coverage 91.5%, duplication 0.9%, hotspots reviewed 100%. Main repeated all unit and component tests successfully; rules, thresholds and the new-code period are unchanged.

Combined PR Allure report

@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 49430dd1-457c-4472-b3c1-bb3b1e55785a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

PR Status

Updated for PR #211 at 4c6cf7c on 2026-11-04T16:36:17.442Z.

📊 Allure Test Report

Open Allure Report

Contributing Workflows

Workflow Status Suites
Unit Tests ✅ Completed Core Unit, Core Integration, Web Unit, Mobile Unit
Component Tests ✅ Completed Web Component
E2E Tests (PR Preview) ✅ Completed Web E2E

Catalog: All reports

🤖 Android Build Panel

Check a box below to trigger a release build:

  • 🚀 Build Stage Release APK
  • 🚀 Build Prod Release APK

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying everfreenote with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4c6cf7c
Status: ✅  Deploy successful!
Preview URL: https://9ad612a8.everfreenote.pages.dev
Branch Preview URL: https://codex-sonar-main-green.everfreenote.pages.dev

View logs

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Report Allure Report 13m 38s Passed tests 3285   Skipped tests 6 0 0 0 View

@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@koreyba
koreyba merged commit bd30c27 into main Nov 4, 2026
45 checks passed
@koreyba
koreyba deleted the codex/sonar-main-green branch November 4, 2026 16:41
@koreyba
koreyba restored the codex/sonar-main-green branch November 4, 2026 16:42

This branch was previously deployed

1 inactive deployment
Stage — 4c6cf7c9 Deployed Nov 4, 2026 by koreyba via build #1056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant